package com.ruoyi.qsng.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打卡规则对象 k_check_rule
 * 
 * @author kanglou
 * @date 2023-06-07
 */


@ApiModel("打卡规则对象 k_check_rule")
@Data
public class KCheckRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 第一个奖励 */
    @Excel(name = "第一个奖励")
    @ApiModelProperty("第一个奖励--废弃")
    private Integer rewardOne;

    /** 第二个奖励 */
    @Excel(name = "第二个奖励")
    @ApiModelProperty("第二个奖励--废弃")
    private Integer rewardTwo;

    /** 第三个奖励 */
    @Excel(name = "第三个奖励")
    @ApiModelProperty("第三个奖励--废弃")
    private Integer rewardThree;

    /** 每天奖励 */
    @Excel(name = "每天奖励")
    @ApiModelProperty("奖励")
    private Integer rewardEvery;

    /** 主键 */
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("业务字段是否领取")
    private boolean receive;

    @ApiModelProperty("达成天数")
    private Long rewardDay;

    public void setRewardOne(Integer rewardOne) 
    {
        this.rewardOne = rewardOne;
    }

    public Integer getRewardOne() 
    {
        return rewardOne;
    }
    public void setRewardTwo(Integer rewardTwo) 
    {
        this.rewardTwo = rewardTwo;
    }

    public Integer getRewardTwo() 
    {
        return rewardTwo;
    }
    public void setRewardThree(Integer rewardThree) 
    {
        this.rewardThree = rewardThree;
    }

    public Integer getRewardThree() 
    {
        return rewardThree;
    }
    public void setRewardEvery(Integer rewardEvery) 
    {
        this.rewardEvery = rewardEvery;
    }

    public Integer getRewardEvery() 
    {
        return rewardEvery;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rewardOne", getRewardOne())
            .append("rewardTwo", getRewardTwo())
            .append("rewardThree", getRewardThree())
            .append("rewardEvery", getRewardEvery())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
